<script type="text/javascript" src="/template/${path}/js/header.js"></script>
<link href="/template/${path}/css/header.css" rel="stylesheet" type="text/css"/>
<!--下拉-->
<script type="text/javascript">
    $(function () {
        $('li.listdown').hover(function () {
            $(this).addClass("nav_current").find('.all').siblings('.xmzs0').stop().slideDown(200);
        }, function () {
            $(this).removeClass("nav_current").find('.all').siblings('.xmzs0').stop().slideUp(200);
        });
    });
</script>
<div class="header png head_onther">
    <div class="headerTop png">
        <div class="headerTopContent">
            <div class="headerLoginInfo">
                您好<span id="headerLoginMemberUsername"></span>，欢迎来到${siteConfig.shopAlias!}
                <a href="#" id="headerShowLoginWindow" class="showLoginWindow a_login white">登录</a>
                <a href="/customerCenter" id="headerMemberCenter">[会员中心]</a>丨
                <a href="#" id="headerShowRegisterWindow" class="showRegisterWindow">注册</a>
                <a href="/customerCenter/logout" id="headerLogout">[退 出]</a>
            </div>
            <div class="headerTopNav">
                <%if(customerType=="b_customer"){%>
                <%for(list in businessTopNavigationList!){%>
                <a href="${list.url}" <%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name!}</a>
                <%if (!listLP.last){%>|<%}%>
                <%}%>
                <%}else{%>
                <%for(list in topNavigationList!){%>
                <a href="${list.url}" <%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name!}</a>
                <%if (!listLP.last){%>|<%}%>
                <%}%>
                <%}%>
                <div class="tel">
                    <span class="textel">售后热线:</span>
                    <%if(customerType=="b_customer"){%>
                    <span class="tel_num"><strong>${phone!}</strong></span>
                    <%}else{%>
                    <span class="tel_num"><strong>${systemConfig.phone!}</strong></span>
                    <%}%>
                    <!--<span class="textel"  id="recruitment"style="margin-left: 20px;cursor: pointer"><a href="/b/pc/recruitment">商家入驻</a></span>-->
                </div>
            </div>
        </div>
    </div>
    <div class="headerMiddle">
        <div class="headerLogo">
            <a href="/${shopAlias!}/index.html"><img class="png" src="" ${siteConfig.logoUrl!}"
                title="${siteConfig.shopName!}" /></a>
        </div>
        <div class="headerSearch png">
            <div class="gray6">
                <span class="qg f12">全国联保</span>
                <span class="day15 f12">15天无理由退货</span>
                <span class="day45 f12">45天无理由换货</span>
            </div>
            <form id="productSearchForm" action="/b/product/search?shopId=${shopId!}" method="get">
                <div class="headerSearchText">
                    <input type="text" id="productSearchKeyword" name="keyword"
                           value="<%if (keyword! != null && rootProductCategoryList != null){%>${keyword!}<%}else{%>请输入关键词...<%}%>"
                           }" />
                    <input type="hidden" id="shopId" name="shopId" value="${shopId!}"/>
                </div>
                <input type="submit" class="headerSearchButton" value="搜索"/>
            </form>
        </div>
    </div>
    <div class="nav_chang">
        <div class="headerBottom">
            <input type="button" class="cartItemListButton showCartItemList" value="购物车"
                   onclick="window.open('/b/cartItem/list?shopId=${shopId!}')"/>
            <ul id="cartItemListDetail"></ul>
            <div class="headerMiddleNav">
                <ul class="headerMiddleNavContent png">
                    <li>
                        <a href="/index.html">首页</a>
                    </li>
                    <li>
                        <a href="/b/pc/recruitment">商家入驻</a>
                    </li>
                    <li class="listdown">
                        <a class="all">全部商品<span class="spot">∨</span></a>
                        <div class="xmzs0 other_nav">
                            <div class="xm1">
                                <p>
                                    <a href="/shop/product/list?id=c5910cfe886244c9b23bd0234d946c3e&viewType=pictureType&pageNumber=1&orderType=priceAsc&pageSize=12"><img
                                            src="/upload/image/banner15.jpg"/></a></p>
                                <h3>微米荟集成灶</h3>
                            </div>
                            <div class="xm1">
                                <p><a href="/shop/product/list?id=0e3d1018956045ea8588796d321f7317"><img
                                        src="/upload/image/banner16.jpg"/></a></p>
                                <h3>微米荟净水机</h3>
                            </div>
                            <div class="xm1">
                                <p><a href="/shop/product/list?id=2dcf75f487de4c7ea62bc181a0c28662"><img
                                        src="/upload/image/banner17.jpg"/></a></p>
                                <h3>微米荟烤箱/蒸箱</h3>
                            </div>
                        </div>
                    </li>
                    <%if(customerType=="b_customer"){%>
                    <%for(list in businessMiddleNavigationList!){%>
                    <li>
                        <a href="${list.url}"<%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name}</a>
                    </li>
                    <%}%>
                    <%}else{%>
                    <%for(list in middleNavigationList){%>
                    <li>
                        <a href="${list.url}"<%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name}</a>
                    </li>
                    <%}%>
                    <%}%>
                </ul>
            </div>
        </div>
    </div>
</div>